# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年09月28日
"""
import pandas as pd

dict = {
	'姓名':['孙兴华','李小龙','叶问'],
	'年龄':[20,80,127],
	'功夫':['健身','截拳道','咏春']
}

data = pd.DataFrame(dict)
# print(data)
# print(data.dtypes)
# print(data.columns)
# print(data.index)

# print(data['姓名'])
# print(data.loc[1])
# print(data.loc[1]['姓名'])
# print(data[['姓名','年龄']])
print(data.loc[0:3])
